package com.common.utils;

import java.io.File;

/**
 * 常量URL
 */
public class ConstantsUrl {


    //    public static String IP = "http://192.168.1.101:8087"; //本地测试
    public static String IP = "http://118.178.180.228/api"; //正式


    //更新版本
    public static String versionUrl = IP + File.separator + "app" + File.separator + "latest?type=ctaa";

    //登陆
    public static String loginUrl = IP + File.separator + "user" + File.separator + "login";
    //注册
    public static String registUrl = IP + File.separator + "user" + File.separator + "regist";
    //重置密码
    public static String forgotPasswordUrl = IP + File.separator + "user" + File.separator + "forgotPassword";

    //修改密码
    public static String modifyPassUrl = IP + File.separator + "user" + File.separator + "modifyPass";

    //今日统计查询
    public static String dayAnlysisUrl = IP + File.separator + "analysis" + File.separator + "daySum";

    //消费记账
    public static String bkkpUrl = IP + File.separator + "bkkp" + File.separator + "bp";
    //查询明细
    public static String bkkpListUrl = IP + File.separator + "bkkp" + File.separator + "bkkpList";

    //统计分析
    public static String yearAnlysisUrl = IP + File.separator + "analysis" + File.separator + "yearSum";
    //通过类别查询统计
    public static String categoryAnlysisUrl = IP + File.separator + "analysis" + File.separator + "categorySum";

    //按月份查询收支情况
    public static String monthAnlysisUrl = IP + File.separator + "analysis" + File.separator + "monthSum";

    //查询当前用户所有数据年份
    public static String searchYearUrl = IP + File.separator + "analysis" + File.separator + "searchYear";
}
